package conch.yaoms;

/**
 * 角色技能
 * @author yaoms
 *
 */
public class RoleSkill {
	/**
	 * 名称
	 */
	private String name = "射击";
	
	/**
	 * 热键
	 */
	private String hotKey = "3";
	
	/**
	 * 冷却时间
	 */
	private int coolDown = 1;
	
	/**
	 * 上次使用时间
	 */
	private long lastUse = 0;
	
	/**
	 * 循环释放
	 * @return
	 */
	private boolean loop = false;

	public boolean isLoop() {
		return loop;
	}

	public void setLoop(boolean loop) {
		this.loop = loop;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHotKey() {
		return hotKey;
	}

	public void setHotKey(String hotKey) {
		this.hotKey = hotKey;
	}

	public int getCoolDown() {
		return coolDown;
	}

	public void setCoolDown(int coolDown) {
		this.coolDown = coolDown;
	}

	public long getLastUse() {
		return lastUse;
	}

	public void setLastUse(long lastUse) {
		this.lastUse = lastUse;
	}

}
